<template>
  <div class="m-pro-list-item">
    <div class="m-pro-list-item-in">
      <div class="m-pro-img"></div>
      <div class="m-pro-name">免安装一体式电热油汀免安装一体式电热油汀</div>
      <div class="m-pro-sup">
        <span>479.00服豆</span>
        <span>+</span>
        <span>999.00元</span>
      </div>
      <div class="m-pro-sub">
        <s>原价 148.00</s>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'mall-product-list-item'
}
</script>

<style scoped lang="less">
.m-pro-list-item{
  flex-basis: 50%;
  .m-pro-img{
    height: 3.32rem;
    background: #f5f5f5;
  }
  .m-pro-name,.m-pro-sup{
    font-size: .3rem;
  }
  .m-pro-name{
    margin: .24rem 0;
    height: .84rem;
    overflow: hidden;
    color: #444;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    word-break: break-all;
  }
  .m-pro-sup{
    color: red;
  }
  .m-pro-sub{
    font-size: .24rem;
    margin-top: .24rem;
    color: #999;
  }
  padding-right: .12rem;
  box-sizing: border-box;
  margin-bottom: .28rem;
  &:nth-child(2n){
    padding-right: 0;
    padding-left: .12rem;
  }
}
</style>
